public class Cat{

        private String color;
        private  String breed;

        public Cat(String color, String breed){
            this.color = color;
            this.breed = breed;
        }

        public void eat(){
            System.out.println(color + "的"+ breed +"正在吃饭......");
        }

        public  void  catchMouse(){
            System.out.println(color + "的"+ breed +"正在逮老鼠.....");
        }
    }
    class Dog{

        private String color;
        private  String breed;

        public Dog(String color, String breed){
            this.color = color;
            this.breed = breed;
        }
        public void eat(){
            System.out.println(color + "的"+ breed +"正在啃骨头......");
        }

        public  void  seeHouse(){
            System.out.println(color + "的"+ breed +"正在看家.....");
        }
    }
class AnimalsTest{
    public static void main(String[] args) {
        Cat cat= new Cat("花色的","波斯猫");
        cat.eat();
        cat.catchMouse();
        Dog dog= new Dog("黑色的","藏獒");
        dog.eat();
        dog.seeHouse();
    }
}
